#define _CRT_SECURE_NO_WARNINGS 1
#include "SList.h"

void test01()
{
	SLTNode* node1 = (SLTNode *)malloc(sizeof(SLTNode));
	node1->val = 1;

	SLTNode* node2 = (SLTNode*)malloc(sizeof(SLTNode));
	node2->val = 2;

	SLTNode* node3 = (SLTNode*)malloc(sizeof(SLTNode));
	node3->val = 3;

	SLTNode* node4 = (SLTNode*)malloc(sizeof(SLTNode));
	node4->val = 4;

	node1->next = node2;
	node2->next = node3;
	node3->next = node4;
	node4->next = NULL;

	SLTNode* phead = node1;
	printSLTNode(phead);
}

int main()
{
	test01();
	return 0;
}